package com.cos.entity;

import java.io.Serializable;
import java.util.List;

/**
  * @author: zxc
  * @return:
  * @time:  2021/5/13 20:59
  * @description:
  */
public class Student implements Serializable {
    private Integer id;
    private String name;
    private String sex;
    private List<Subject> subs;

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                '}';
    }

    public List<Subject> getSubs() {
        return subs;
    }

    public void setSubs(List<Subject> subs) {
        this.subs = subs;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Student() {
    }

    public Student(Integer id, String name, String sex) {
        this.id = id;
        this.name = name;
        this.sex = sex;
    }
}
